package Tax;

import java.util.Scanner;

public class MagicNubser_1 {
    public static void main(String[] args) {
          System.out.println("请输入合法成绩");
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextDouble()) {
            Scanner scanner1 = new Scanner(System.in);
            double score = scanner1.nextDouble();
             if (score <= 60.0) {
                System.out.println("不及格！补考");
            }
          if (score > 90.0) {
               System.out.println("你的成绩是A");
          }
           if (score > 70 && score <= 90) {
              System.out.println("你的成绩是B");
          }
           if (score>60&&score<=70){
               System.out.println("你的成绩是c");
           }
          }
    }
}
